package com.example.learn;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Toast;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.appcompat.widget.LinearLayoutCompat;

import com.lzy.okgo.OkGo;
import com.lzy.okgo.callback.StringCallback;
import com.lzy.okgo.model.HttpParams;
import com.lzy.okgo.model.Response;

import org.json.JSONException;
import org.json.JSONObject;

public class TwoActivity extends AppCompatActivity {

    private AppCompatTextView backTextView = null;
    private AppCompatTextView moneyTextView = null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_two);
        moneyTextView = findViewById(R.id.moneyTextView);
        moneyTextView.setText(getIntent().getStringExtra("money"));
        backTextView=findViewById(R.id.backTextView);
        backTextView.setOnClickListener(view -> finish());
    }

}
